package com.sxfq.loansupermarket.backsystem.modular.logsf.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.logsf.entity.DiscountAudit;
import com.sxfq.loansupermarket.backsystem.modular.marketing.entity.TongJiInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * dao
 *
 * @author zx
 * @Date 2019年1月13日13:15:54
 */
public interface DiscountAuditDao extends BaseMapper<DiscountAudit> {
    List<DiscountAudit> getList(@Param("page") Page<DiscountAudit> page, Map<String, Object> params);

    int updateAuditStatus(DiscountAudit info);

    int getQueryPagesCount(@Param("page") Page<DiscountAudit> page, Map<String, Object> params);

    List<TongJiInfo> getQueryPagesCounts(Map<String, Object> params);
}